﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microhard.FMCG.Buz.Models
{
    public class OrderModel
    {
        public long OrderID { set; get; }
        public Guid CompanyID { set; get; }
        public string Code { set; get; }
        public DateTime OrderDate { set; get; }
        public string OrderStore { set; get; }
        public string OrderTypeName { set; get; }
        public string DeliveryAddress { set; get; }
        public decimal Amount { set; get; }
        public DateTime CreateTime { set; get; }
        public int Status { set; get; }
        public string ViewStatus { set; get; }
        public DateTime DeliveryDate { set; get; }
        public string HQCompanyCode { set; get; }
        public DateTime? QueryStart { set; get; }
        public DateTime? QueryEnd { set; get; }
        public List<OrderDetailModel> Detail { set; get; }
        public string CtrID { set; get; }
    }

    public enum OrderStatus
    {
        Save = 1,
        Checked = 2,
        Delivering = 3,
        Finished = 4
    }
}
